<gn-buttons>
  <button mat-raised-button gnDialog [content]="typeTask"
          [disabled]="!table.hasSelectedOne" [data]="{id: table.selectedId}">活动记录
  </button>
  <button mat-raised-button gnDialog [content]="typeStop"
          [disabled]="!table.hasSelectedOne || (table.selection.selected[0]? table.selection.selected[0].endTime != null: true)"
          (onClose)="table.cleanSelectionAndLoadData()" [data]="{id: table.selectedId}">终止流程
  </button>
</gn-buttons>
<gn-table idField="id" url="/WORKFLOW-SERVICE/history/processes" [columns]="columns">
</gn-table>

